package cn.dzhang.spring.boot.repository;

import org.springframework.data.jpa.repository.JpaRepository;

import cn.dzhang.spring.boot.model.User;

public interface UserRepository extends JpaRepository<User, Integer> {
	User findByUsername(String username);

	User findByName(String name);
}
